#ifndef MYGRAPHICSVIEW_H
#define MYGRAPHICSVIEW_H

#include <QtGui/QGraphicsView>
//#include "mirrorview.h"

class MirrorView;
class MyGraphicsView : public QGraphicsView
{
	Q_OBJECT

public:
	//MyGraphicsView(QWidget *parent);
	MyGraphicsView(MirrorView* parent);
	~MyGraphicsView();
	void mouseMoveEvent(QMouseEvent* event);
	void mousePressEvent(QMouseEvent* event);
	void mouseReleaseEvent(QMouseEvent* event);
private:
	MirrorView* my_parent;
};

#endif // MYGRAPHICSVIEW_H
